package com.lck.tutor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lck.tutor.common.BaseResponse;
import com.lck.tutor.model.domain.Follow;
import com.lck.tutor.model.domain.User;

import java.util.List;

/**
* @author Administrator
* @description 针对表【follow(用户关注表)】的数据库操作Service
* @createDate 2022-10-30 15:34:09
*/
public interface FollowService extends IService<Follow> {

    BaseResponse<?> follow(Long id, Boolean isFollow, User loginUser);

    BaseResponse<List<User>> common(Long id, Long userId);
}
